//
// square.cpp for towerdefense
// 
// Made by benoit guina
// Login   <guina_b@epitech.net>
//

#include "square.hpp"

Square::Square() : m_type(0)
{
}

int Square::read(char c)
{
	if (c == ' ')
		m_type = 1;
	else
		return -1;
	return 0;
}

void Square::set_building(Building *building)
{
	m_building = building;
}